STEP 1: Today's lesson is on opening and closing files. To save time, we've made the game for you!
- Let's get started! In LOGIC and , drag Main Function below MAIN FUNCTION.
- Then, in , drag Function Call Into Variables inside main().
- Change my_function to play_game, my_var1 to player_name, and my_var2 to time.
- Once the game finishes, play_game() returns the player's name and how long he or she survived.
To navigate the page using the TAB key, first press ESC to exit the code editor.